import Vue from "vue";
import VueRouter from "vue-router";

import login from "../views/login"
import home from "../views/home"

Vue.use(VueRouter)

export default new VueRouter({
    routes:[
        {
            name:"login",
            path:"/login",
            component:login
        },
        {
            name:"home",
            path:"/home/:simplePath?",
            component:home
        },
        {
            path:"/",
            component:login
        },
    ]
})